package com.yiyi.system.domain;

import com.yiyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyi.common.annotation.Excel;

/**
 * ip地址与企业微信匹配对象 cs_ip_wx_code
 *
 * @author yiyi
 * @date 2024-10-18
 */
public class CsIpWxCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** ip地址 */
    @Excel(name = "ip地址")
    private String ipAddress;

    /** 企业微信二维码地址 */
    @Excel(name = "企业微信二维码地址")
    private String wxCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIpAddress(String ipAddress)
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress()
    {
        return ipAddress;
    }
    public void setWxCode(String wxCode)
    {
        this.wxCode = wxCode;
    }

    public String getWxCode()
    {
        return wxCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ipAddress", getIpAddress())
            .append("wxCode", getWxCode())
            .toString();
    }
}
